package com.lzw.breadknife.sample.bean;

/**
 * author  : AWeiLoveAndroid
 * e-mail  : lzw460433675@163.com
 * github  : https://gitee.com/AWeiLoveAndroid/BreadKnife
 * project : BreadKnife
 */
public class TextColor {
    boolean status;
    int uncheck;
    int checked;

    public TextColor(boolean status, int checked, int uncheck) {
        this.status = status;
        this.uncheck = uncheck;
        this.checked = checked;
    }

    public int getColor() {
        return status ? checked : uncheck;
    }
}
